//
//  WSBHomebannersModel.h
//  NuoMi
//
//  Created by ios on 16/1/15.
//  Copyright © 2016年 iOSwusanbao. All rights reserved.
//

#import <Mantle/Mantle.h>


//1
@interface WSBHomebannersModel : MTLModel<MTLJSONSerializing>

@property (nonatomic, strong) NSNumber *banner_id;
@property (nonatomic, strong) NSString *picture_url;
@property (nonatomic, strong) NSNumber *goto_type;
@property (nonatomic, strong) NSString *cont;

@end

//2
@interface WSBHomecategoryModel : MTLModel<MTLJSONSerializing>

@property (nonatomic, strong) NSString *category_id;
@property (nonatomic, strong) NSString *category_name;
@property (nonatomic, strong) NSString *category_picurl;
@property (nonatomic, strong) NSString *icon_url;
@property (nonatomic, strong) NSNumber *has_icon;

@property (nonatomic, strong) NSString *schema;

@end

//3
@interface WSBHomespecialModel : MTLModel<MTLJSONSerializing>

@property (nonatomic, strong) NSDictionary *block_1;
@property (nonatomic, strong) NSArray *block_2;
@property (nonatomic, strong) NSArray *block_3;

@end

//4
@interface WSBHometoptenModel : MTLModel<MTLJSONSerializing>

@property (nonatomic, strong) NSArray *activetime;
@property (nonatomic, strong) NSArray *list;
@property (nonatomic, strong) NSNumber *isLogo;
@property (nonatomic, strong) NSString *target_url;

@end

@interface WSBHomepageModel : MTLModel<MTLJSONSerializing>

@property (nonatomic, strong) NSArray *banners;
@property (nonatomic, strong) NSArray *category;
@property (nonatomic, strong) WSBHomespecialModel *special;
@property (nonatomic, strong) NSArray *recommend;
@property (nonatomic, strong) WSBHometoptenModel *topten;

@end

